package cn.zfgc.jfinal.service;

import cn.zfgc.jfinal.plugin.redis.Cache;
import cn.zfgc.jfinal.plugin.redis.Redis;
import org.springframework.stereotype.Service;

/**
 * Created by wangwang on 2017/3/6 0006.
 */
@Service
class CacheService {

    public void showCacheDemo() {
        Cache demo = Redis.use("config中的数据块名称");
        demo.get("keyName");
    }
}
